﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Wuther.Infrastructure.Organizations
{
    /// <summary>
    /// 人员单位关系
    /// </summary>
    [Comment("人员单位关系")]
    public class OrganizationUsers: AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 人员ID
        /// </summary>
        [Comment("人员ID")]
        public Guid UserId { get; set; }
        /// <summary>
        /// 单位ID
        /// </summary>
        [Comment("单位ID")]
        public Guid OrganizationId { get; set; }
        /// <summary>
        /// 租户ID
        /// </summary>
        [Comment("租户ID")]
        public Guid TenantId { get; set; }
    }
}
